/*
 * @Author: leevan
 * @Date: 2022-02-23 13:54:08
 * @LastEditTime: 2022-02-25 11:01:49
 * @LastEditors: leevan
 * @FilePath: /usermanagecenter/src/service/log.service/index.js
 */
import {
    queryLogList_path,
    deleteMoreLog_path,
    deleteOneLog_path,
    queryLogDetails_path
} from './path';

import {
    POST , GET, PUT, DELETE, PATCH
} from '@/plugins/axios';


//获取角色
export const queryLogList = data=> {
    return GET(queryLogList_path(),data,{'content-type':'application/json'});
};

//删除单个日志
export const deleteOneLog = logId => {
    return DELETE(deleteOneLog_path(logId))
}

//删除多个日志
export const deleteMoreLog = data => {
    return DELETE(deleteMoreLog_path(),data,{'content-type':'application/json'})
}

//查询日志详情

export const queryLogDetails = logId => {
    return GET(queryLogDetails_path(logId));
}